package com.briup.estore.mapper;

import com.briup.estore.bean.Shopcar;
import com.briup.estore.bean.ext.ShopCarExtend;

import java.util.List;

public interface ShopcarMapper {
    Shopcar findByUserIdAndBookId(int userId, Integer bookId);

    void addCar(Shopcar shopcar);

    void updateCar(Shopcar shopcardb);

    List<ShopCarExtend> findByUserId(Integer userId);

    void deleteshopCar(List<Integer> shopCarlist);
    Shopcar findById(Integer id);
    void deleteById(Integer id);
}
